package com.untour.im.codec.protocol.packet.client;


import com.untour.im.codec.protocol.command.Command;
import com.untour.im.codec.protocol.message.body.OfflineMessageBody;
import com.untour.im.codec.protocol.message.content.TxtMessageContent;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 下线提醒
 */
@Getter
@Setter
@NoArgsConstructor
public class OfflineServerResponsePacket extends BaseResponsePacket<OfflineMessageBody> {

    public OfflineServerResponsePacket(String messageId, Byte messageType, String content) {
        super(Command.OFFLINE,messageType, new OfflineMessageBody(messageId,
                        new TxtMessageContent(content)));
    }
}
